using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace OA.Model
{
    public class Dialog:Base
    {
        /// <summary>
        /// 数据选择框编号
        /// </summary>
        public virtual string DialogCode { get; set; }

        /// <summary>
        /// 显示名称
        /// </summary>
        public virtual string Title { get; set; }

        /// <summary>
        /// Nhibernate HQL 语句
        /// </summary>
        public virtual string HQL { get; set; }

        /// <summary>
        /// 宽度
        /// </summary>
        public virtual int? Width { get; set; }

        /// <summary>
        /// 高度
        /// </summary>
        public virtual int? Height { get; set; }

        /// <summary>
        /// 返回值
        /// </summary>
        public virtual string ResultFieldKey { get; set; }

        /// <summary>
        /// 数据库
        /// </summary>
        public virtual string Database { get; set; }

        /// <summary>
        /// 栏位
        /// </summary>
        public virtual IList<DialogField> Fields { get; set; }
    }
}
